package com.data.modules.sm.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.data.modules.sm.entity.SmRepairStats;
import com.data.modules.sm.mapper.SmRepairStatsMapper;
import com.data.modules.sm.service.ISmRepairStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description: sm_repair_stats
 * @Author: data-boot
 * @Date:   2022-11-12
 * @Version: V1.0
 */
@Service
public class SmRepairStatsServiceImpl extends ServiceImpl<SmRepairStatsMapper, SmRepairStats> implements ISmRepairStatsService {

    @Autowired
    private SmRepairStatsMapper mapper;
    /**
     * 询报修情况信息
     * @param province
     * @return
     */
    @Override
    public List<Map> getRepairInfo(String userName) {
        List<Map> list =  mapper.getRepairInfo(userName);
        return list;
    }

    @Override
    public List<Map> getMsgInfo(String userName) {
        List<Map> list =  mapper.getMsgInfo(userName);
        return list;
    }
}
